<?php
// +----------------------------------------------------------------------
// | 成都艾威尔网络科技有限公司&&lijia
// +----------------------------------------------------------------------
// | Copyright (c) 2012-2019 http://www.ivears.com All rights reserved.
// | Author: lijia
// +----------------------------------------------------------------------
namespace think;


define("ZMCMS_VERSION","后台内容管理 1.0");
header('Access-Control-Allow-Origin:*');
header('Access-Control-Allow-Credentials: true');
header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE");
header('Access-Control-Allow-Headers:x-requested-with,content-type,Origin, X-Requested-With,token, Accept');
define('BASE_PATH',str_replace('\\','/',realpath(dirname(__FILE__).'/'))."/");
require __DIR__ . '/../vendor/autoload.php';
$http = (new App())->http;
$response = $http->run();
$response->send();
$http->end($response);